package org.peoples.rooms {
	
	import flash.events.Event;
	
	public class RoomPoolEvent extends Event {
		
		public static const ROOM_ADDED:String = "RoomPoolEvent.ROOM_ADDED";
		public static const ROOM_REMOVED:String = "RoomPoolEvent.ROOM_REMOVED";
		
		private var _room:RoomProperties;
		
		public function RoomPoolEvent(type:String, room:RoomProperties, bubbles:Boolean = false, cancelable:Boolean = false):void {
			super(type, bubbles, cancelable);
			
			this._room = room;
		}
		
		public function get room():RoomProperties {
			return this._room;
		}
		
	}
	
}